package com.edwin.websitebe.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("product")
public class Product {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String productName;

    private String productBrief;

    private String showType;

    private Integer sort;

    private Boolean isHot;

    private Boolean isNew;

    private Boolean isSellWell;

    private String homeImgUrl;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long productShowTypeId;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Long userId;

    private String productSize;

    private String productWeight;

    private String productContentSum;

    private String productCapacity;

    private String productTurnover;

    private String seriesImgUrl;

    private String bigSeriesImgUrl;

    private String detailTopImgUrl;

    private String videoImgUrl;

    private String videoUrl;

    private String introImgUrl;

    private String hotImgUrl;

    private String landingImgUrl;

    private String pairImgUrl;

    private String detailBrief;

}
